package iscript.coreFramework.bitmaps 
{
	import flash.display.Bitmap;
	import flash.display.BitmapData; 
	import flash.display.DisplayObject;
	import flash.display.MovieClip;
	import flash.geom.Point;
	import flash.geom.Rectangle;
	import flash.utils.ByteArray;
	/**
	 * ...
	 * @author raymond
	 */
	public class BitmapDataTool  
	{
		
		static  public function  MovieClipToBitmapData(bitmapDataDraw:BitmapDataDraw):Vector.<BitmapData> {
			  var data:Vector.<BitmapData> = new Vector.<BitmapData>();
			  var target:MovieClip = MovieClip(bitmapDataDraw.target)
			  for (var i:int = 1; i <=target.totalFrames; i++) 
			  {
				  target.gotoAndStop(i);
				  data.push(bitmapDataDraw.renderTarget(target));
			  }
			  return data;
			}
	    	
			
		static	public function IsTransparent():Boolean {
			
			return false;
			
			}

			
	 
	}
}